package cn.com.w.dm7.service.impl;

import cn.com.w.dm7.dao.UserDao;
import cn.com.w.dm7.entity.User;
import cn.com.w.dm7.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    UserDao userDao;

    @Override
    public List<User> getUserList() {
        return userDao.getUsers();
    }
}
